import React from "react";
import { NavBar, NoticeBar } from "react-vant";
import { useNavigate } from "react-router";
import styles from "./index.module.css";
const Index: React.FC = () => {
  const navigate = useNavigate();
  return (
    <div>
      <NavBar title="健康档案" onClickLeft={() => navigate("/my")} />
      <div className={styles.gui}>
        <NoticeBar
          className={styles.notice}
          wrapable
          text="根据国家有关规定，就诊人在未实名认证状态下平台将无法提供诊断、药品、挂号等服务，请及时实名认证!"
        />
      </div>
    </div>
  );
};

export default Index;
